package com.example.demo.demos.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@Data
@NoArgsConstructor
@TableName(value = "classmate")
public class Classmate {
    @TableField(value = "name")
    private Integer id;
    private String name;
    private Integer dorm;
    @TableId
    private int xuehao;
}